import React from 'react';

import {

} from 'react-native';

import CommonSendFetchAction from '../common/CommonSendFetchAction';
import Constants from '../../common/Constants';

export default class CommonLiveAction extends CommonSendFetchAction {
    constructor() {
      super();
      this.moduleType = Constants.MODULE_TYPE.COMMON;
      this.name = "CommonLiveAction";

      //versionType
      //versionValue
    }
    _dealFinishSucess(data, response) {
    if(this.caller.requestBack !==undefined)
    {
      this.caller.requestBack(data.lives);
    }

    this.caller.setState({
      listData: data.lives,
    });
  }
}
